package cn.bass.marketing.common.enums;

import lombok.Getter;

/**
 * 错误定义
 */
@Getter
public enum ErrorEnums {
    SUCCESS("0000", "成功"),

    SYSTEM_ERROR("0001", "系统错误"),

    FORMAT_WEEK_ERROR("10000","格式化星期错误"),

    PARAM_ERROR("0002", "参数错误");


    private final String code;

    private final String msg;

    ErrorEnums(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

}
